#! /usr/bin/python
# -*- coding: utf-8 -*-

#Author: Yuanhao Li <jay_21cn@hotmail.com>
#File: tabmanager.py
#Usage: Client of ING from project Babel
#Copyright (C) 2007 Yuanhao Li<jay_21cn@hotmail.com>

#This program is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation; either version 2 of the License, or
#(at your option) any later version.

#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#GNU General Public License for more details.

#You should have received a copy of the GNU General Public License
#along with this program; if not, write to the Free Software Foundation,
#Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

#本程序是遵从 GPL 2.0 许可发布的. 你可以自由修改和再发布本程序, 
#但请遵守 GPL 2.0 条款, 尊重知识产权.

import sys, os
#for cxfreeze
from encodings import utf_8, ascii

from PyQt4 import QtGui, QtCore

from ingcapp import IngcApp

cwd = os.path.split(sys.argv[0])[0]
if not cwd:
	cwd = os.getcwd()

if __name__ == '__main__':
	app = QtGui.QApplication(sys.argv)
	if sys.platform[:3] == 'win':
		QtGui.QApplication.setLibraryPaths(QtCore.QStringList(cwd + "/plugins"))
	ingcapp = IngcApp()
	ingcapp.show()
	sys.exit(app.exec_())
